<?php

namespace app\common\enum\user;

use MyCLabs\Enum\Enum;

/**
 * 提现打款方式枚举类
 */
class UserCashPayTypeEnum extends Enum
{
    // 微信
    const WX = 10;
    const ALI = 20;
    const BANK = 30;

    /**
     * 获取订单类型值
     */
    public static function data()
    {
        return [
            self::WX => [
                'name' => '微信',
                'value' => self::WX,
            ],
            self::ALI => [
                'name' => '支付宝',
                'value' => self::ALI,
            ],
            self::BANK => [
                'name' => '银行卡',
                'value' => self::BANK,
            ],
        ];
    }

}